<html>
  <head><title>SP Objects</title>
    <script src="codepress/codepress.js" type="text/javascript"></script> 
    <link rel="stylesheet" href="style.css" type="text/css" media="all" />
  </head>
  <body>

    <h1>Procedure Object: WEB_QUOTE_STAT.SQL</h1>
    <p><b>Author:</b> Pushpa Baskaran</p>
    <p><b>Date:</b> April 05, 2007</p>
    <p><b>Abstract:</b></p>
    <p></b></p>
    <p><b>Sample Calls:</b></p>
    <p></b></p>
    <p></p>
    
    
    <h3>Tables:</h3>
    <ul>
      
        <li><b><a href="WEB_QUOTE.html">EBIZ1.WEB_QUOTE</a></b></li>
      
    </ul>
    
    
    
    
    
    
    
    
    <h3>Source code:</h3>
    <div id="SQLsrc" >
<em>DROP</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_STAT<br />@<br /><br /><i>----------------------------------------------------------------------------------</i><br /><i>--</i><br /><i>--&nbsp;&nbsp;<b>Table</b>&nbsp;Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EBIZ1.WEB_QUOTE_STAT</i><br /><i>--&nbsp;&nbsp;File&nbsp;Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EBIZ1.WEB_QUOTE_STAT.<b>SQL</b></i><br /><i>--&nbsp;&nbsp;Author:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pushpa&nbsp;Baskaran</i><br /><i>--&nbsp;&nbsp;<u>Date</u>:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;April&nbsp;05,&nbsp;2007</i><br /><i>--</i><br /><i>--&nbsp;&nbsp;Abstract:&nbsp;Creates&nbsp;a&nbsp;<b>table</b>&nbsp;<b>to</b>&nbsp;quote&nbsp;status&nbsp;codes</i><br /><i>--</i><br /><i>--*****&nbsp;&nbsp;IBM&nbsp;Confidential&nbsp;&nbsp;******</i><br /><i>--</i><br /><i>--&nbsp;&nbsp;MAINTENANCE&nbsp;LOG</i><br /><i>--&nbsp;&nbsp;who&nbsp;&nbsp;<u>date</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b><em>comment</em></b></i><br /><i>--&nbsp;&nbsp;---&nbsp;&nbsp;--------&nbsp;&nbsp;---------------------------------------------------------------</i><br /><i>--&nbsp;&nbsp;GW&nbsp;&nbsp;&nbsp;04/02/07&nbsp;&nbsp;Initial&nbsp;Version</i><br /><i>--&nbsp;&nbsp;GW&nbsp;&nbsp;&nbsp;05/23/07&nbsp;&nbsp;Added&nbsp;FK&nbsp;-&nbsp;changed&nbsp;spelling&nbsp;<b>of</b>&nbsp;FK</i><br /><i>--&nbsp;&nbsp;GW&nbsp;&nbsp;&nbsp;11/14/07&nbsp;&nbsp;Removed&nbsp;duplicate&nbsp;FK</i><br /><i>-----------------------------------------------------------------------------------</i><br /><br /><br /><em>CREATE</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_STAT&nbsp;(<br />web_quote_num&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>char</u>(10)&nbsp;<b>not</b>&nbsp;<b>null</b>,<br />quote_stat_code&nbsp;&nbsp;&nbsp;<u>char</u>(8)&nbsp;&nbsp;<b>not</b>&nbsp;<b>null</b>,<br />stat_prir&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>char</u>(1)&nbsp;&nbsp;<b>not</b>&nbsp;<b>null</b>,<br />inact_flag&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>smallint</u>&nbsp;<b>not</b>&nbsp;<b>null</b>,<br />add_date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>TIMESTAMP</u>,<br />add_by_user_name&nbsp;&nbsp;<u>varchar</u>(50),<br />mod_date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>TIMESTAMP</u>,<br />mod_by_user_name&nbsp;&nbsp;<u>varchar</u>(50)<br />)<br /><b>IN</b>&nbsp;EBIZ1_DATA_01&nbsp;<br /><b>INDEX</b>&nbsp;<b>IN</b>&nbsp;EBIZ1_INDX_01<br />@<br /><br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_STAT&nbsp;DATA&nbsp;CAPTURE&nbsp;NONE<br />@<br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_STAT&nbsp;<b>NOT</b>&nbsp;<b>VOLATILE</b><br />@<br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_STAT&nbsp;APPEND&nbsp;OFF<br />@<br /><br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_STAT&nbsp;<em>DROP</em>&nbsp;<b>PRIMARY</b>&nbsp;<b>KEY</b><br />@<br /><br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_STAT&nbsp;<br /><b>ADD</b>&nbsp;<b>CONSTRAINT</b>&nbsp;web_qt_stat_pk<br /><b>PRIMARY</b>&nbsp;<b>KEY</b>&nbsp;(web_quote_num,&nbsp;quote_stat_code,&nbsp;stat_prir)<br />@<br /><br /><i>--&nbsp;<b>Constraint</b>:&nbsp;<b>Cascade</b>&nbsp;<em>Delete</em></i><br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_STAT<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>ADD</b>&nbsp;<b>CONSTRAINT</b>&nbsp;WEB_QT_STAT_FK<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>FOREIGN</b>&nbsp;<b>KEY</b>&nbsp;(WEB_QUOTE_NUM)<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>REFERENCES</b>&nbsp;EBIZ1.WEB_QUOTE&nbsp;(WEB_QUOTE_NUM)<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>ON</b>&nbsp;<em>DELETE</em>&nbsp;<b>CASCADE</b>&nbsp;<b>ON</b>&nbsp;<em>UPDATE</em>&nbsp;<b>NO</b>&nbsp;ACTION<br />@<br /><em>GRANT</em>&nbsp;<em>SELECT</em>&nbsp;<b>ON</b>&nbsp;EBIZ1.WEB_QUOTE_STAT&nbsp;<b>TO</b>&nbsp;<b>GROUP</b>&nbsp;WEB_GRP<br />@
    </div> 
  </body>
</html>
